package com.zhuqi.controller;

import com.zhuqi.exception.CodeException;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zhuqi
 * @version 1.0
 * @date 2021/3/26 9:03
 * 过滤器回调后的异常抛出类
 */
public class ErrorController {

    @RequestMapping("/codeError")
    public void CodeError(){
        throw new CodeException();
    }
}
